package com.msnrobotweb.http;

import org.simpleframework.http.Response;

/**
 * 机器人请求的包装类
 * @author bm888888@gmail.com
 *
 */
public class RobotResponse {
  
  Response response;
  
  
  public RobotResponse(Response response) {
    
    this.response = response;
  }


  /**
   * @return the request
   */
  public Response getresponse() {
    return response;
  }


  public void print(String string) throws Exception {
    response.getPrintStream().print(string);
    
  }
  
  public void println(String string) throws Exception {
    response.getPrintStream().println(string);
  }
  
  
  

}
